package migrations

import "zero_server/pkg/migration"

type AdminGroup struct {
	ID      uint   `gorm:"column:id;type:int(11);primaryKey;autoIncrement:true;comment:角色ID" json:"id"`
	Name    string `gorm:"column:name;type:varchar(100);not null;default:'';comment:角色名称" json:"name"`
	Content string `gorm:"column:content;type:varchar(100);null;default:'';comment:角色描述" json:"content"`
	Rules   string `gorm:"column:rules;type:longtext;null;comment:菜单规则多个用|隔开" json:"rules"`
	migration.SetMigrationStatus
	migration.SetMigrationDate
}
